import Vue from 'vue'
import App from './App.vue'
// eslint-disable-next-line no-unused-vars
import Wood from './wood'
import './assets/index.css'
//引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//引入路有
import VueRouter from 'vue-router'
import router from '../router/index'

import * as echarts from 'echarts';
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VueRouter)

new Vue({
  // Echarts可视化大屏
  render: h => h(Wood),
  // 网易云
  // render: h => h(App),
  router,
  beforeCreate() {
    Vue.prototype.$echarts = echarts
    Vue.prototype.$bus = this;

  },
}).$mount('#app')
